<?php

loadFile(HDPHP_PATH . '/libs/view/smarty/Smarty.class.php');

/**
 * 后盾网 http://www.houdunwang.com
 * Email:houdunwang@gmail.com
 * Encoding:UTF-8
 * Created on:2011-12-1 15:20:54
 * @author:向军
 */
class smartyView extends Smarty {

    function __construct() {
        $this->template_dir = C("TPL_TELPLATE_PATH");
        $this->compile_dir = C("TPL_COMPILE_PATH");
        $this->cache_dir = C("TRL_CACHE_PATH") ? C("TRL_CACHE_PATH") : TPL_CACHE_PATH;
        $this->caching = C("CACHEING");
        $this->cache_lifetime = C("CACHE_TIME");
        $this->left_delimiter=C("TPL_TAG_LEFT");
        $this->right_delimiter=C("TPL_TAG_RIGHT");
    }

}

?>
